home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
076-100
/
disk_098
/
hddriver
/
driver
/
subprocess.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-05-06
|
381b
|
21 lines
#include "hd.h"
/* note that must not allocate any signals here as they may conflict */
/* with signals for the interrupt handler or for the message port which */
/* allocated the signals in a different task (naughty arnt I!) */
void
subprocess ()
{
struct Message *msg;
while ( 1 ) {
while ( msg = GetMsg ( port ) ) {
perform_io ( msg );
}
WaitPort ( port );
}
}